#!/bin/bash

current_time=`date "+%y_%m_%d_%H_%M_%S"`
adb logcat -c
adb shell am start -n com.chengzi.huawei/chengzi.chengzivr.ChengziActivity
echo "start collect logs ......"
#adb logcat |tee logcat_${current_time}.log | grep -E 'VRCORE_PluginKit|QVRServiceLowFreqSensor|WaveVR_ControllerPoseTracker|HummingBirdControllerService|WVR_COMMON'
adb logcat |tee logcat_${current_time}.log | grep -E 'VRCORE_PluginKit|WaveVR_ControllerPoseTracker|HummingBirdControllerService|WVR_COMMON'

